﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ServiceModel;
using System.Runtime.Serialization;

namespace PumeCentralService
{
    public interface IPumpCentralCallback
    {
        [OperationContract]
         double getWaterLevel();
        [OperationContract]
        bool StartPump();
        [OperationContract]
        bool StopPump();
        [OperationContract]
        bool RegisterPump(PumpStatusDTO dto); // skal kun klaldes på centralen FRA en pumpe
        [OperationContract]
        bool UnregisterPump(PumpStatusDTO dto);
        [OperationContract]
        PumpStatusDTO GetData();
    }
}
